package com.retail.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("weekly_sales_trend") // 与 Spark 落库表名完全一致
public class WeeklySales {
    @TableId
    private String yearWeek; // 修改字段名和类型，对应 year_week
    private Long weeklyQuantity; // weekly_quantity
    private Double weeklyRevenue; // weekly_revenue
    private Long weeklyOrders; // weekly_orders
}